﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;

namespace ARPAMIS.Presentation.Web
{
    public static class WebHelpers
    {
        public static class ViewComponents
        {
            public static string GetJqGridComponents()
            {
                StringBuilder scriptbuilder = new StringBuilder();
                scriptbuilder.Append("<link href='" + HttpContext.Current.Request.ApplicationPath + "Scripts/JqGrid/css/ui.jqgrid.css' rel='stylesheet' type='text/css' />");
                scriptbuilder.Append("<script src='" + HttpContext.Current.Request.ApplicationPath + "Scripts/JqGrid/js/i18n/grid.locale-en.js' type='text/javascript'></script>");
                scriptbuilder.Append("<script src='" + HttpContext.Current.Request.ApplicationPath + "Scripts/JqGrid/js/jquery.jqGrid.min.js' type='text/javascript'></script>");
                return scriptbuilder.ToString();
            }
        }
    }
}